package com.example.erp.sys.service;

import com.example.erp.sys.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Set;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author LiQiCheng
 * @since 2022-01-29
 */
public interface RoleService extends IService<Role> {

    boolean saveRolePermission(int rid, String ids);

    Set<Integer> findRolePermissionByRoleId(Integer roleId) throws Exception;
}
